Package com.netscape.certsrv.base
Class SecurityDomainSessionTable
java.lang.Object
com.netscape.certsrv.base.SecurityDomainSessionTable
- Direct Known Subclasses:
LDAPSecurityDomainSessionTable,MemorySecurityDomainSessionTable
This class defines the abstraction for the cookie table.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidabstract longgetBeginTime(String sessionID) abstract Stringabstract Stringabstract Enumeration<String> abstract intgetSize()longabstract Stringabstract voidremoveEntry(String sessionID) abstract booleansessionExists(String sessionID) abstract voidshutdown()
-
Field Details
-
SUCCESS
public static final int SUCCESS- See Also:
-
FAILURE
public static final int FAILURE- See Also:
-
timeToLive
protected long timeToLive
-
-
Constructor Details
-
SecurityDomainSessionTable
public SecurityDomainSessionTable()
-
-
Method Details
-
addEntry
public abstract void addEntry(String sessionID, String ip, String uid, String group) throws Exception - Throws:
Exception
-
removeEntry
- Throws:
Exception
-
sessionExists
- Throws:
Exception
-
getIP
- Throws:
Exception
-
getUID
- Throws:
Exception
-
getGroup
- Throws:
Exception
-
getBeginTime
- Throws:
Exception
-
getSize
- Throws:
Exception
-
getTimeToLive
public long getTimeToLive() -
getSessionIDs
- Throws:
Exception
-
shutdown
public abstract void shutdown()
-